(ansi-color-for-comint-mode): Add :version.
authorGerd Moellmann <gerd@gnu.org>
Mon, 29 Jan 2001 15:40:07 +0000 (15:40 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 29 Jan 2001 15:40:07 +0000 (15:40 +0000)
(ansi-color-for-comint-mode-on, ansi-color-process-output): Add
autoload cookie.
(ansi-color-apply-sequence): Fix typo.

lisp/ansi-color.el

index bbc3b774d53716336042c17bc1893b252f9922a1..51421add42c0629e3d63a54f2d8156f8b7e03b6a 100644 (file)
@@ -172,12 +172,12 @@ in shell buffers.  You set this variable by calling one of:
 \\[ansi-color-for-comint-mode-on]
 \\[ansi-color-for-comint-mode-off]
 \\[ansi-color-for-comint-mode-filter]"
-  :version "21.1"
   :type '(choice (const :tag "Do nothing" nil)
                 (const :tag "Filter" filter)
                 (const :tag "Translate" t))
   :group 'ansi-colors)
 
+;;;###autoload
 (defun ansi-color-for-comint-mode-on ()
   "Set `ansi-color-for-comint-mode' to t."
   (interactive)
@@ -193,6 +193,7 @@ in shell buffers.  You set this variable by calling one of:
   (interactive)
   (setq ansi-color-for-comint-mode 'filter))
 
+;;;###autoload
 (defun ansi-color-process-output (string)
   "Maybe translate SGR control sequences of comint output into text-properties.
 
@@ -553,7 +554,7 @@ case we return nil."
          ((eq (car new-faces) 'default)
           (cdr new-faces))
          (t
-          (append new-faces face)))))
+          (append new-faces faces)))))
 
 (defun ansi-color-make-color-map ()
   "Creates a vector of face definitions and returns it.